<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<script type="text/javascript">
$('#tt').tabs({
    border:false,
    onSelect:function(title){
		alert(title+' is selected');
    }
});

$(function(){
 	$('.zpjg_biaoge').datagrid({    
 		//数据源地址
	    url:'zpjieguo',
	    columns:[[
	    	{field:'RSENAME',fixed:false,width:180,title:'考生姓名',align:'center'},    
	        {field:'ZKZREM',fixed:false,width:180,title:'准考证号',align:'center'},
	        {field:'TRTSFENS',fixed:false,width:180,title:'考试成绩',align:'center'},
	        {field:'OUTNAME',fixed:false,width:180,title:'考试试卷',align:'center'},
	        {field:'FEBSC',fixed:false,width:180,title:'考试时长',align:'center'},    
	        {field:'OUTZONF',fixed:false,width:180,title:'总分',align:'center'},
	        {field:'TRTSID',fixed:false,width:180,title:'编号',hidden:true,align:'center'},
	        {field:'OUTID',fixed:false,width:180,title:'考试编号',hidden:true,align:'center'},
	        {field:'JULDZ',fixed:false,width:180,title:'考试地点',hidden:true,align:'center'},
	        {field:'FEBMINTIME',fixed:false,width:180,title:'开考时间',hidden:true,align:'center'},
	        {field:'FEBMAXTIME',fixed:false,width:180,title:'结束时间',hidden:true,align:'center'}
	    
	    ]],
	    pagination:true,
	    pageNumber:1,
	    pageSize:5,
	    pageList:[5,10,15]    
	});
 	
})

$(function(){
	$(".zpjg_biaoge").datagrid({
        //双击事件
        onDblClickRow: function (index,row) {
        	$("#zp_kaoshengxiangqing").window("open"); 
        	$("#zpjg_xingming").val(row["RSENAME"]);
	        $("#zpjg_zhunkaozheng").val(row["ZKZREM"]);
	        $("#zpjg_kaosheng").val(row["TRTSID"]);
	        $("#zpjg_kaoshi").val(row["OUTID"]);
	        $("#zpjg_chengji").val(row["TRTSFENS"]);
	        $("#zpjg_timu").val(row["RSENAME"]);
	        $("#zpjg_zongfen").val(row["OUTZONF"]);
	        $("#zpjg_didian").val(row["JULDZ"]);
	        $("#zpjg_kaikao").val(row["FEBMINTIME"]);
	        $("#zpjg_jieshu").val(row["FEBMAXTIME"]);
              
        }
    });

 	
})
</script>

			    	   <div id="zp_kaoshengxiangqing" class="easyui-window" title="考生详情" style="width:690px;height:470px"
		    		data-options="closed:true,minimizable:false,maximizable:false,collapsible:false,modal:true">
		    		             <div class="zpjgxiangqing_one">
		    		                   <div class="zpjg_xingming">姓名：<input type="text" class="zpjg_tiqukuang" id="zpjg_xingming"></div>
		    		                   <div class="zpjg_zhunkaozheng">准考证号：<input type="text" class="zpjg_tiqukuang" id="zpjg_zhunkaozheng"></div>
		    		             </div>
		    		             <div class="zpjgxiangqing_two">
		    		                   <div class="zpjg_kaosheng">编号：<input type="text" class="zpjg_tiqukuang" id="zpjg_kaosheng"></div>
		    		                   <div class="zpjg_kaoshi">考试编号：<input type="text" class="zpjg_tiqukuang" id="zpjg_kaoshi"></div>
		    		             </div>
		    		             <div class="zpjgxiangqing_three">
		    		                   <div class="zpjg_chengji">成绩：<input type="text" class="zpjg_tiqukuang" id="zpjg_chengji"></div>
		    		                   <div class="zpjg_timu">考试题目：<input type="text" class="zpjg_tiqukuang" id="zpjg_timu"></div>
		    		             </div>
		    		             <div class="zpjgxiangqing_four">
		    		                   <div class="zpjg_zongfen">总分：<input type="text" class="zpjg_tiqukuang" id="zpjg_zongfen"></div>
		    		                   <div class="zpjg_didian">考试地点：<input type="text" class="zpjg_tiqukuang" id="zpjg_didian"></div>
		    		             </div>
		    		             <div class="zpjgxiangqing_five">
		    		                   <div class="zpjg_kaikao">开考时间：<input class="easyui-datetimebox" name="birthday"     
                                          data-options="required:true,showSeconds:false"
                                          value="3/4/2010 2:3" style="width:150px"
                                          id="zpjg_kaikao"> 
                                       </div>
		    		                   <div class="zpjg_jieshu">结束时间：<input class="easyui-datetimebox" name="birthday"     
                                          data-options="required:true,showSeconds:false"
                                          value="3/4/2010 2:3" style="width:150px"
                                          id="zpjg_jieshu"> 
		    		                   </div>
		    		             </div>
		    		
		    		</div>
				<div class="zhaopinjieguo_zong">
				
				    <div class="zhaopinjieguo_shang">
				              <div class="zpjg_tongguo">
				              </div>
				              <div class="zpjg_xiangqing">
				                                                         双击表单可查看考生详情
				              </div>
				    </div> 
				    <div class="zhaopinjieguo_xia">
				             <table class="zpjg_biaoge" class="easyui-datagrid" style="width:100%;height:350px;margin-top:20px;" data-options="fitColumns:true">
                                 
                            </table>
				    </div>
				</div>
</body>
</html>